<!--
 * @Author: 清羽
 * @Date: 2022-08-18 15:21:13
 * @LastEditTime: 2022-08-18 20:09:16
 * @LastEditors: you name
 * @Description:
-->
<template>
  <div style="display:inline-block; margin-right: 20px;">
    <label class="radio-label"
           style="padding-left:0;">商品名称: </label>
    <el-input v-model="productName"
              placeholder="请输入商品名称"
              style="width:245px;"
              prefix-icon="el-icon-goods" />
  </div>
</template>

<script>
export default {
  props: {
    value: {
      // type: String,
      default: ''
    }
  },
  computed: {
    productName: {
      get () {
        return this.value
      },
      set (val) {
        this.$emit('input', val)
      }
    }
  }
}
</script>
